package Doudizu;

public class info {
    //储存扑克牌信息的实体类，在下面要重写toString方法
    private String number;
    private String color;
    private  int size;

    public info() {
    }

    public info(String number, String color, int size) {
        this.number = number;
        this.color = color;
        this.size = size;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return number+""+color;
    }
}
